package com.pig4cloud.pig.trip.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.trip.api.dto.InquireDTO;
import com.pig4cloud.pig.trip.api.dto.TripDTO;
import com.pig4cloud.pig.trip.api.entity.TrTrip;
import java.util.List;
public interface TrTripService extends IService<TrTrip> {

	List<InquireDTO> getUnusedInquireList();
	IPage<TripDTO> selectByCondition(Page page, String inquireNumber, String cusTel,String trStatus);

	InquireDTO getInquireBYId(Long inquireId);
	int insertTrip(TrTrip trTrip);

    int deleteTrip(Long tripId);

	InquireDTO getInquireByTripId(Long tripId);

    int updateTripAmount(TripDTO tripDTO);
}
